<?php
namespace app\admin\widget;

use think\View;

class Upload
{

    //图片
    public function image($src='',$append='')
    {
        $view = new View();
        $view->assign('src',$src);
        $view->assign('append',$append);
        return $view->fetch('widget/image');
    }
}
